Cocktail Help Reference
ISampleDataProvider<T> Interface Members
See Also  Methods  Send Feedback
Cocktail Assembly > Cocktail Namespace : ISampleDataProvider<T> Interface


Glossary Item Box

The following tables list the members exposed by ISampleDataProvider<T>.

Public Methods

 NameDescription
 MethodAddSampleDataThis method is called by the EntityManagerProvider to initialize the EntityManager cache with sample data. Use EntityManager.AttachEntities or EntityManager.CacheStateManager.RestoreCacheState() to populate the cache with sample data. The latter is useful to popluate the EntityManager with previously saved data.  
Top

See Also

© 2013 All Rights Reserved.